import 'package:tender_flutter/page/home/model/market_contact_entity_entity.dart';

marketContactEntityFromJson(MarketContactEntity data, Map<String, dynamic> json) {
	if (json['phone'] != null) {
		data.phone = json['phone'].toString();
	}
	if (json['wx'] != null) {
		data.wx = json['wx'].toString();
	}
	return data;
}

Map<String, dynamic> marketContactEntityToJson(MarketContactEntity entity) {
	final Map<String, dynamic> data = new Map<String, dynamic>();
	data['phone'] = entity.phone;
	data['wx'] = entity.wx;
	return data;
}